package com.fyp.erp;


import android.app.TabActivity;

import android.os.Bundle;
import android.view.Window;
import android.widget.TabHost;

public class Details extends TabActivity {
	private TabHost tabHost;

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.details);

		String tabname1 = "Shareholder Details";
		String tabname2 = "Personnel Details";



		tabHost = getTabHost();
		tabHost.addTab(tabHost.newTabSpec("tab1").setContent(R.id.layout_tab_one).setIndicator(tabname1));
		tabHost.addTab(tabHost.newTabSpec("tab2").setContent(R.id.layout_tab_two).setIndicator(tabname2));



		tabHost.setCurrentTab(0);



	}



}


